<%@ page language="java"  pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	    <title><fmt:message key="insuranceDetail.heading"/></title>
	    <link rel="stylesheet" type="text/css" media="screen" href="${ctxPath}/css/form.css">
		<v:javascript formName="insurance" staticJavascript="false"/>
	 	<script type="text/javascript" src="${ctxPath}/js/validator.jsp"></script>
  </head>
  <body>
	  	<div class="post">
			<div class="story">
				<h3><fmt:message key="insuranceDetail.heading"/></h3>
				<ul>功能介绍
					<li>[TODO]</li>
				</ul>
			</div>
		</div>
 		<div id="form-outer">
 			<div class="content">
 				<form:form method="post" id="insurance" onsubmit="return validateInsurance(this);" commandName="insurance" action="editInsurance.do">	
						<form:hidden path="id"/>					
			<p>
 				<label><fmt:message key="insurance.insuranceNo"/></label>
				<form:input id="insuranceNo" path="insuranceNo"/>
 				<form:errors path="insuranceNo" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="insurance.bxFlight"/></label>
				<form:input id="bxFlight" path="bxFlight"/>
 				<form:errors path="bxFlight" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="insurance.bxStatus"/></label>
				<form:input id="bxStatus" path="bxStatus"/>
 				<form:errors path="bxStatus" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="insurance.passengerId"/></label>
				<form:input id="passengerId" path="passengerId"/>
 				<form:errors path="passengerId" cssClass="fieldError" />
			</p>
 				 		<div class="last">
							<label>&nbsp;</label>
							<input name="submit" type="submit" onclick="bCancel=false" value=" 保存 " class="save"/>
							&nbsp;
							<input name="cancel" type="submit" onclick="bCancel=true" value=" 取消 " class="cancel"/>
						</div>
						
					</form:form>
 			
 			</div>
 		</div>
		
  </body>
</html>